﻿#ifndef EXPRESSIONUI_H
#define EXPRESSIONUI_H
#pragma once
#include <QWidget>
#include <QPushButton>
#include <QSignalMapper>
#include <QPixmap>
#include <QFile>
#include <QDir>
#include <QVector>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QDebug>

namespace Ui {
class ExpressionUI;
}

class ExpressionUI : public QWidget
{
    Q_OBJECT

public:
    explicit ExpressionUI(QWidget *parent = nullptr);
    ~ExpressionUI();
    void initExpression();
    static ExpressionUI& getInstance();
    void getExpression(int i);
signals:
    void Expre(QString);
private:
    Ui::ExpressionUI *ui;
    QSignalMapper* m_mapper;
    QVector<QString> m_vec;
};

#endif // EXPRESSIONUI_H
